<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <label>请输入num1：</label><input type="text" ><br>
<label>请输入num2：</label><input type="text" ><br>
<button>相加</button><br>
<label>结果:</label><input id="reslut" type="text" >

</body>
<script>
    
function largeNumAdd(num1, num2) {
    // 在这里实现大数相加函数
    console.log(BigInt(num1)+BigInt(num2).toString())
      
}
//测试用例  
largeNumAdd("11", "123") //->"134"
largeNumAdd("235656","746433225") //->""746668881""
largeNumAdd("3456786543355","222222234567778") //->"225679021111133"

function multiply(num1, num2) {
    //这里编写字符串相乘代码
    console.log((BigInt(num1)*BigInt(num2)).toString())
};
//测试用例  
multiply("23","4") //->"92"
multiply("235","263645") //->"61956575"
multiply("2453465476867978","4756867978080890909") //->"11670811362240247334432453213412002"
</script>
</html>